<?php

/**
 * 下午茶咖啡生产查询
 * @package  htdocs
 * @subpackage  quanliadmin
 * @author   allen.qiang  <allen.qiang@fistforward.com> 2015-01-20 allen.qiang FUN-AC-0028-下午茶项目
 */

quanli_require('module/base/bill/billSearch.class.php');

class pa_coffeeSearch {

    public function execute() {

        global $G_PGLOB;

        if (isset($_REQUEST['operFlg']) && $_REQUEST['operFlg'] > 0) {

            switch ($_REQUEST['operFlg']) {

                case 1: //显示列表页面
                    $this->coffeeSearchList();
                    break;

                default:
                    $G_PGLOB->smarty->assign('msg', '参数错误');
                    $G_PGLOB->smarty->display('comm/error.tpl');
            }
        }
    }

    /**
     * 显示列表页面
     */
    private function coffeeSearchList() {
        global $G_PGLOB;
        //当前时间
        $currentDate = date('Y-m-d');
        $G_PGLOB->smarty->assign('currentDate',$currentDate);
        $G_PGLOB->smarty->display('production/coffeeSearch.tpl');
    }



}
